/*
 * @Author: ygl
 * @Date: 2021-12-16 17:35:42
 * @LastEditors: ygl
 * @LastEditTime: 2021-12-16 18:09:57
 * @Description: file content
 */
const initialState = {
  menuName: '首页',
  current: '123123数据',
}

const reducer = () => {
  let state = initialState
  return {
    ...state, // 保存上一个状态值的写法
    menuName: initialState.menuName,
  }
}
// eslint-disable-next-line import/no-anonymous-default-export
export default reducer
